import request from '@/utils/request'

// 查询投料审核列表
export function listFeeding_examine(query) {
  return request({
    url: '/prodplan/feeding_examine/list',
    method: 'get',
    params: query
  })
}

// 查询投料审核详细
export function getFeeding_examine(feedingsId) {
  return request({
    url: '/prodplan/feeding_examine/' + feedingsId,
    method: 'get'
  })
}

// 新增投料审核
export function addFeeding_examine(data) {
  return request({
    url: '/prodplan/feeding_examine',
    method: 'post',
    data: data
  })
}

// 修改投料审核
export function updateFeeding_examine(data) {
  return request({
    url: '/prodplan/feeding_examine',
    method: 'put',
    data: data
  })
}

// 删除投料审核
export function delFeeding_examine(feedingsId) {
  return request({
    url: '/prodplan/feeding_examine/' + feedingsId,
    method: 'delete'
  })
}

// 导出投料审核
export function exportFeeding_examine(query) {
  return request({
    url: '/prodplan/feeding_examine/export',
    method: 'get',
    params: query
  })
}